<?php defined('ROOT_DIR') or die('Access denied!');?>
<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="content-type" content="text/html" />
	<meta name="author" content="暮雨秋晨" />
	<meta charset="UTF-8" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
    <meta name="description" content="<?php echo $config['desc'];?>" />
    <meta name="keywords" content="<?php echo $config['keywd'];?>" />
	<title><?php echo $title;?></title>
    <link rel="stylesheet" href="/Application/static/css/main.css" />
    <script src="/Application/static/js/common.js"></script>
</head>
<body>

<!-- header -->
<header>
<ul>
<li><a href="/" style="z-index: 50;">公告</a></li>
</ul>
</header>
<hr style="clear: both;height: 2px;margin: 0;padding: 0;" />

<!-- body -->
<div id="main">

<h1 style="text-align: center;font-size: 2em;"><?php echo $announcement['title'];?></h1>

<div style="text-align: center;margin: 3px auto;padding: 1px;font-size: 14px;">发表时间：<?php echo dateFormat($announcement['ptime']);?>&nbsp;阅读量：<?php echo $readcount;?></div>


<div id="box" style="text-indent: 2em;padding: 3px;">
<?php echo nl2br($announcement['content']);?>
</div>
</div>
<!-- footer -->
<footer>
&copy;<a href="http://www.doubear.com">Doubear</a> Driven by <a href="http://www.domvc.com">DoMVC</a> framework
</footer>
</body>
</html>